x11: Handle obsolete selection requests without crashing
authorMatthias Clasen <mclasen@redhat.com>
Thu, 27 Nov 2014 03:25:36 +0000 (22:25 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 27 Nov 2014 03:27:49 +0000 (22:27 -0500)
commit732af31424b8f382d869258dea1936616ab2748d
treeef084bff1a8554bc9a2254add05aaaa0f7a0a7af
parente3bf31886a7a6a67807a02ad2e87b7a03ff47822
x11: Handle obsolete selection requests without crashing

The ICCCM says:

If the specified property is None , the requestor is an obsolete client.
Owners are encouraged to support these clients by using the specified
target atom as the property name to be used for the reply.

Lets do that, instead of crashing.

https://bugzilla.gnome.org/show_bug.cgi?id=740613
gdk/x11/gdkdisplay-x11.c